Open
Conversation
That receipt should work on most of GNU/Linux distributions.
Member
|
Thanks. Documenting the issue is one approach, but ideally we should try to fix the software so that it works out of the box. Could you open an issue in the main repo with some screenshots of how the application looks for you, and also, could you try with this patch? diff --git a/electrum/gui/qt/__init__.py b/electrum/gui/qt/__init__.py
index 3290833019..a922da9074 100644
--- a/electrum/gui/qt/__init__.py
+++ b/electrum/gui/qt/__init__.py
@@ -124,6 +124,8 @@ class ElectrumGui(BaseElectrumGui, Logger):
QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_ShareOpenGLContexts)
if hasattr(QGuiApplication, 'setDesktopFileName'):
QGuiApplication.setDesktopFileName('electrum.desktop')
+ if hasattr(QtCore.Qt, "AA_EnableHighDpiScaling"):
+ QtCore.QCoreApplication.setAttribute(Qt.AA_EnableHighDpiScaling)
self.gui_thread = threading.current_thread()
self.windows = [] # type: List[ElectrumWindow]
self.efilter = OpenFileEventFilter(self.windows)(I guess it is similar to setting the |
Contributor
Author
|
The patch works correctly setting QT_AUTO_SCREEN_SCALE_FACTOR. But how to change font size if it's not ideal? I mean QT_FONT_DPI - maybe we can leave that part in the FAQ - as current patch will satisfy 90% of users. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
That receipt should work on most of GNU/Linux distributions.